package com.personal.common.bean;

public class ZTreeNode {
	/** 节点id **/
	private String id;
	/** 数据状态标识 **/
    private Integer state;
    /** 父节点 **/
    private String pid;
    /** 节点图标 **/
    private String icon;
    /** 关闭图标 **/
    private String iconClose;
    /** 打开图标 **/
    private String iconOpen;
    /** 节点名称 **/
    private String name;
    /** 是否展开 **/
    private boolean open;
    /** 是否是父节点 **/
    private boolean isParent;
    
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public Integer getState() {
		return state;
	}
	public void setState(Integer state) {
		this.state = state;
	}
	public String getPid() {
		return pid;
	}
	public void setPid(String pid) {
		this.pid = pid;
	}
	public String getIcon() {
		return icon;
	}
	public void setIcon(String icon) {
		this.icon = icon;
	}
	public String getIconClose() {
		return iconClose;
	}
	public void setIconClose(String iconClose) {
		this.iconClose = iconClose;
	}
	public String getIconOpen() {
		return iconOpen;
	}
	public void setIconOpen(String iconOpen) {
		this.iconOpen = iconOpen;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public boolean isOpen() {
		return open;
	}
	public void setOpen(boolean open) {
		this.open = open;
	}
	public boolean getIsParent() {
		return isParent;
	}
	public void setIsParent(boolean isParent) {
		this.isParent = isParent;
	}
	@Override
	public String toString() {
		return "ZTreeNode [id=" + id + ", state=" + state + ", pid=" + pid + ", icon=" + icon + ", iconClose="
				+ iconClose + ", iconOpen=" + iconOpen + ", name=" + name + ", open=" + open + ", isParent=" + isParent
				+ "]";
	}
    
}
